﻿@{
    Layout = "~/Views/Samples/Generic/_Codebehind.cshtml";
}
@section cs_webforms_render_new
{
@if (ViewBag.Project.IsAspNetAjax)
{
    <text>
            if (uploadPanel.Visible)
                ScriptManager.RegisterClientScriptBlock(this, this.GetType(), Guid.NewGuid().ToString(), "window.setTimeout(init, 1);", true);
    </text>
}
}
@section vb_webforms_render_new {
@if (ViewBag.Project.IsAspNetAjax)
{
    <text>
            If uploadPanel.Visible Then
                scriptManager.RegisterClientScriptBlock(Me, Me.GetType(), Guid.NewGuid().ToString(), "window.setTimeout(init, 1);", True)
            End If
    </text>
}
}